package com.stepshop;

import com.stepshop.core.thread.jdk.JDKExecutor;

public class SysOutThread implements Runnable {
	private int order;
	
	@Override
	public void run() {
		synchronized (JDKExecutor.class) {
			JDKExecutor.count++;
			try {
//			Thread.currentThread().sleep(100l);
			} catch (Exception e) {
				e.printStackTrace();
			}
			System.out.println("----------------------------JDKExecutor.count:"+JDKExecutor.count);
		}
	}

	public int getOrder() {
		return order;
	}

	public SysOutThread(int order) {
		super();
		this.order = order;
	}

	public SysOutThread() {
		super();
	}

	public void setOrder(int order) {
		this.order = order;
	}

}
